package com.example.lotterysystem.controler.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author xuejiao
 * Data 2025/5/3 20:20
 */

@Data
public class CreatePrizeByActivityParam implements Serializable {

    /**
     * 活动关联的奖品id
     */
    @NotNull(message = "活动关联的奖品id不能为空！")
    private Long prizeId;
    /**
     * 奖品数量
     */
    @NotNull(message = "奖品名称不能为空！")
    private Long prizeAmount;
    /**
     * 奖品等级
     */
    @NotNull(message = "奖品等级不能为空！")
    private String prizeTiers;
}
